package cn.bestick.model;

/**
 * @author Bestick
 *
 *         be stick...
 *
 *         2015年9月7日 上午10:43:55
 */
public class PageBean {

	private int page;

	private int pageSize;

	public PageBean(int page, int pageSize) {
		super();
		this.page = page;
		this.pageSize = pageSize;
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getStart() {
		return (page - 1) * pageSize;
	}
}
